package com.turing.post.organization.util;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 凭证调拨单实体类
 * 
 * @author wzd
 * @date 2013-03-12
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "VOUCHERTRANSFERORDER")
public class VoucherTransferOrder implements java.io.Serializable {
	/**
	 * 调拨单ID
	 */
	private BigInteger transferOrderId;
	/**
	 * 发卡商 varchar(6) Not Null 参考IssueCompany
	 */
	private String issueCompanyNo;
	/**
	 * 业务单号  Not Null
	 */
	private String orderSeqNo;
	/**
	 * 调出机构号 Not Null
	 */
	private String  fromBranchNo;
	/**
	 * 调入机构号
	 */
	private String  toBranchNo;
	/**
	 * 调拨时间  Not Null
	 */
	private Date  tranTime;
	/**
	 * 操作员号  Not Null
	 */
	private BigInteger  operId;
	/**
	 * 审核时间   Null
	 */
	private Date  authTime;
	/**
	 * 审核人Id  Null
	 */
	private BigInteger  authOperId;
	/**
	 * 状态  Not Null
	 */
	private String  status;
	/**
	 * 备注 varchar(60) Null
	 */
	private String remark;
	
	
	public VoucherTransferOrder() {
		super();
	}

	@Id
	@Column(name = "transferOrderId", nullable = false)
	public BigInteger getTransferOrderId() {
		return transferOrderId;
	}


	public void setTransferOrderId(BigInteger transferOrderId) {
		this.transferOrderId = transferOrderId;
	}

	@Column(name = "issueCompanyNo", nullable = false)
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}


	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "orderSeqNo", nullable = false)
	public String getOrderSeqNo() {
		return orderSeqNo;
	}


	public void setOrderSeqNo(String orderSeqNo) {
		this.orderSeqNo = orderSeqNo;
	}

	@Column(name = "fromBranchNo", nullable = false)
	public String getFromBranchNo() {
		return fromBranchNo;
	}


	public void setFromBranchNo(String fromBranchNo) {
		this.fromBranchNo = fromBranchNo;
	}

	@Column(name = "toBranchNo", nullable = false)
	public String getToBranchNo() {
		return toBranchNo;
	}


	public void setToBranchNo(String toBranchNo) {
		this.toBranchNo = toBranchNo;
	}

	@Column(name = "tranTime", nullable = false)
	public Date getTranTime() {
		return tranTime;
	}


	public void setTranTime(Date tranTime) {
		this.tranTime = tranTime;
	}

	@Column(name = "operId", nullable = false)
	public BigInteger getOperId() {
		return operId;
	}


	public void setOperId(BigInteger operId) {
		this.operId = operId;
	}

	@Column(name = "authTime")
	public Date getAuthTime() {
		return authTime;
	}


	public void setAuthTime(Date authTime) {
		this.authTime = authTime;
	}

	@Column(name = "authOperId")
	public BigInteger getAuthOperId() {
		return authOperId;
	}


	public void setAuthOperId(BigInteger authOperId) {
		this.authOperId = authOperId;
	}

	@Column(name = "status", nullable = false)
	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 调出录入
	 */
	public static final String Status_0 = "0";
	/**
	 * 调出在途(M)
	 */
	public static final String Status_1 = "1";
	/**
	 * 接收
	 */
	public static final String Status_2 = "2";
	/**
	 * 接收确认(M)
	 */
	public static final String Status_3 = "3";
	/**
	 * 拒收
	 */
	public static final String Status_4 = "4";
	/**
	 * 取消调出(M)
	 */
	public static final String Status_5 = "5";
}
